package com.rainbow.support.minio.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 文件上传之后,返回结果
 * @author 付为地
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@Builder
@ApiModel(value = "文件实体")
public class FileResp {

    @ApiModelProperty(value = "文件地址",example = "http://127.0.0.1:9000/user/20211231/%E8%B5%84%E4%BA%A7%E5%AF%BC%E5%85%A520211231092739912.xlsx")
    private String filePath;

    @ApiModelProperty(value = "文件全名",example = "http://127.0.0.1:9000/user/20211231/示例文件20211231092739912.xlsx")
    private String fullName;

    @ApiModelProperty(value = "文件名称",example = "示例文件20211231092739912.xlsx")
    private String fileName;

}
